Skip to content

stm32mp257f_dk: add m33 support #92316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucbeaufils
Copy link
Contributor

Add the support of this board.
It use the same SoC as the stm32mp257_ev1

Signed-off-by: Luc BEAUFILS luc.beaufils@savoirfairelinux.com

@lucbeaufils lucbeaufils force-pushed the boards_stm32mp357f_dk_support branch from 9296cec to add8fbe Compare June 30, 2025 07:18
@lucbeaufils lucbeaufils requested a review from yishai1999 June 30, 2025 07:18
@erwango erwango added this to the v4.3.0 milestone Jun 30, 2025
nordicjm
nordicjm previously approved these changes Jun 30, 2025
@nordicjm nordicjm requested a review from kartben June 30, 2025 09:23
Copy link
Collaborator

@arnopo arnopo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comments then LGTM

Introduce initial board support for the STM32MP257F-DK Discovery Kit.
This includes:
- Board metadata (board.yml, stm32mp257f_dk.yaml)
- Base software configuration (Kconfig.stm32mp257f_dk)
- CMake build integration (board.cmake)
- Default configuration (stm32mp257f_dk_stm32mp257fxx_m33_defconfig)
- Minimal device tree (stm32mp257f_dk_stm32mp257fxx_m33.dts)
- Initial documentation and image for the stm32mp257f_dk board.
- OpenOCD configuration files for debugging support.

Signed-off-by: Luc BEAUFILS <luc.beaufils@savoirfairelinux.com>
Copy link

Copy link
Collaborator

@arnopo arnopo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems good to go to me.
Thanks!

Comment on lines +3 to +129
- Board connectors:

- Ethernet RJ45
- Two stacked USB 2.0 HS Type-A
- USB 3.0 USB Type-C |reg| PD
- microSD |trade| card holder
- Dual-lane MIPI CSI-2 |reg| camera module expansion connector
- HDMI |reg|
- LVDS
- GPIO expansion connector
- VBAT for power backup

- On-board STLINK-V3EC:

- Debugger with USB re-enumeration capability: Virtual COM port and debug port
- Board power source through USB Type-C |reg|

- Mainlined open-source Linux |reg| STM32 MPU OpenSTLinux Distribution and
STM32CubeMP2 software with examples
- Linux |reg| Yocto project |reg|, Buildroot, and STM32CubeIDE as
development environments

More information about the board can be found at the
`STM32MP257F-DK website`_.

Hardware
********

Cores:
======

- 64-bit dual-core Arm |reg| Cortex |reg|-A35 with 1.5 GHz max frequency
- 32-Kbyte I + 32-Kbyte D level 1 cache for each Cortex |reg|-A35 core
- 512-Kbyte unified level 2 cache
- Arm |reg| NEON |trade| and Arm |reg| TrustZone |reg|
- 32-bit Arm |reg| Cortex |reg|-M33 with FPU/MPU, Arm |reg| TrustZone |reg|,
and 400 MHz max frequency
- L1 16-Kbyte ICache / 16-Kbyte DCache for Cortex |reg|-M33

Memories:
=========

- External DDR memory up to 4 Gbytes
- Up to DDR3L-2133 16/32-bit
- Up to DDR4-2400 16/32-bit
- Up to LPDDR4-2400 16/32-bit
- 808-Kbyte internal SRAM: 256-Kbyte AXI SYSRAM, 128-Kbyte AXI video RAM or
SYSRAM extension, 256-Kbyte AHB SRAM, 128-Kbyte AHB SRAM with ECC in backup
domain, 8-Kbyte SRAM with ECC in backup domain, 32 Kbytes in SmartRun domain
- Two Octo-SPI memory interfaces
- Flexible external memory controller with up to 16-bit data bus: parallel
interface to connect external ICs, and SLC NAND memories with up to 8-bit ECC

Power
=====

- STPMIC25 for voltage regulation (multiple buck/LDO regulators)
- USB-C power input

Clock management
================

- External oscillators:
- 32.768 kHz LSE crystal
- 40 MHz HSE crystal
- Internal oscillators:
- 64 MHz HSI oscillator
- 4 MHz CSI oscillator
- 32 kHz LSI oscillator
- Five separate PLLs with integer and fractional mode

Security/Safety
===============

- Secure boot, TrustZone |reg| peripherals, active tamper, environmental
monitors, display secure layers, hardware accelerators
- Complete resource isolation framework

Connectivity
============

- 1x Gigabit Ethernet (RGMII)
- USB 2.0 High-Speed Host (dual-port)
- USB Type-C |reg| DRP
- GPIO expansion connector

Display & Camera
================

- LVDS interface (4-lane)
- Camera CSI-2 interface (2-lane)

Debug
=====

- STLINK-V3EC (onboard debugger with VCP, JTAG and SWD)

More information about STM32MP257F can be found here:

- `STM32MP257F on www.st.com`_
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's three (!) pages of information that really doesn't belong to Zephyr documentation. Please trim it down (and there are some sub-bulllet list that are missing preceding blank line anyway and don't render correctly)
https://builds.zephyrproject.io/zephyr/pr/92316/docs/boards/st/stm32mp257f_dk/doc/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants